package org.aclyyx.malata.app.e1;

public class SourceObj {
	private String id;
	private String type;
	private String name;
	private String indate;

	public SourceObj(String id, String type, String name, String indate) {
		
		this.id = id;
		this.type = type;
		this.name = name;
		this.indate = indate;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getColor() {
		return type.substring(type.lastIndexOf("-")+1);
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIndate() {
		return indate;
	}

	public void setIndate(String indate) {
		this.indate = indate;
	}
}
